package cn.buildworld.mapper;

import cn.buildworld.pojo.po.OsProductCategory;
import cn.buildworld.pojo.po.OsProductCategoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OsProductCategoryMapper {
    int countByExample(OsProductCategoryExample example);

    int deleteByExample(OsProductCategoryExample example);

    int deleteByPrimaryKey(Long productCategoryId);

    int insert(OsProductCategory record);

    int insertSelective(OsProductCategory record);

    List<OsProductCategory> selectByExample(OsProductCategoryExample example);

    OsProductCategory selectByPrimaryKey(Long productCategoryId);

    int updateByExampleSelective(@Param("record") OsProductCategory record, @Param("example") OsProductCategoryExample example);

    int updateByExample(@Param("record") OsProductCategory record, @Param("example") OsProductCategoryExample example);

    int updateByPrimaryKeySelective(OsProductCategory record);

    int updateByPrimaryKey(OsProductCategory record);
}